<style>
  .old-logo-img{
    max-width:400px;max-height:60px
  }
  @media screen and (max-width: 768px){
    .old-logo-img{
      max-width:180px;
    }
  }
</style>
{% if fixedLogo %}
  <a href="/" class="{{class}}">
      {% if settings.pc_fixed_logo_pic %}
        <span class="pc">
          {% if settings.pc_logo_w != 0 and settings.pc_fixed_logo_pic.src != "" %}
            <img data-src="{{ settings.pc_fixed_logo_pic.src }}" class="logo-pc-img" style="width:{{settings.pc_logo_w | default:60}}px" src="{{settings.pc_fixed_logo_pic.src}}"  alt="{{ settings.pc_fixed_logo_pic.alt}}" >
          {% else %}
            {{ storeConfig.name }}
          {% endif %}
          </span>
          <span class="yd">
          {% assign wapLogo = settings.wap_fixed_logo_pic.src | default:settings.pc_fixed_logo_pic.src %}
          {% if wapLogo != "" and settings.wap_logo_w != 0 %}
            <img data-src="{{ wapLogo }}" class="logo-wap-img" style="width:{{settings.wap_logo_w | default:60}}px" src="{{wapLogo}}"  alt="{{ settings.wap_logo_pic.alt}}" >
          {% else %}
            {{ storeConfig.name }}
          {% endif %}
        </span>
      {% else %}
        {% if settings.logo_pic.src != "" %}
          <img class="old-logo-img"  src="{{settings.logo_pic.src}}"   alt="{{ settings.logo_pic.alt}}" >
        {% else %}
          {{ storeConfig.name }}
        {% endif %}
      {% endif %}
  </a>
{% else %}
  <a href="/" class="{{class}}">
    {% if settings.pc_logo_pic %}
      <span class="pc">
        {% if settings.pc_logo_w != 0 and settings.pc_logo_pic.src != "" %}
          <img data-src="{{ settings.pc_logo_pic.src }}" class="logo-pc-img" style="width:{{settings.pc_logo_w | default:60}}px" src="{{settings.pc_logo_pic.src}}"  alt="{{ settings.pc_logo_pic.alt}}" >
        {% else %}
          {{ storeConfig.name }}
        {% endif %}
        </span>
        <span class="yd">
        {% assign wapLogo = settings.wap_logo_pic.src | default:settings.pc_logo_pic.src %}
        {% if wapLogo != "" and settings.wap_logo_w != 0 %}
          <img data-src="{{ wapLogo }}" class="logo-wap-img" style="width:{{settings.wap_logo_w | default:60}}px" src="{{wapLogo}}"  alt="{{ settings.wap_logo_pic.alt}}" >
        {% else %}
          {{ storeConfig.name }}
        {% endif %}
      </span>
    {% else %}
      {% if settings.logo_pic.src != "" %}
        <img class="old-logo-img"  src="{{settings.logo_pic.src}}"   alt="{{ settings.logo_pic.alt}}" >
      {% else %}
        {{ storeConfig.name }}
      {% endif %}
    {% endif %}
  </a>
{% endif %}

